package md.mru.transfer.old.domain;


import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * salarizarea
 */
@Entity
@Table(name="SAL" , schema = "mru"
)
public class Sal implements Serializable {

    @Id
    @Column(name = "ID", precision = 10, scale = 0)
    private long id;

    @JoinColumn(name = "GRD_SAL")
    @Column(name = "GRD_SAL")
    private long salaryLevel;//gradul de salarizare

    @JoinColumn(name = "TRP_SAL")
    @Column(name = "TRP_SAL")
    private long salaryStep;//trepta de salarizare

    @Column(name = "SAL", precision = 10, scale = 0)
    private long amount;//salariul

    @Column(name = "DSR", precision = 10, scale = 0)
    private long folder;//dosar

    @Temporal(TemporalType.DATE)
    @Column(name = "DTE", length = 7)
    private Date establishmentDate;//data stabilirii

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSalaryLevel() {
        return salaryLevel;
    }

    public void setSalaryLevel(long salaryLevel) {
        this.salaryLevel = salaryLevel;
    }

    public long getSalaryStep() {
        return salaryStep;
    }

    public void setSalaryStep(long salaryStep) {
        this.salaryStep = salaryStep;
    }

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    public long getFolder() {
        return folder;
    }

    public void setFolder(long folder) {
        this.folder = folder;
    }

    public Date getEstablishmentDate() {
        return establishmentDate;
    }

    public void setEstablishmentDate(Date establishmentDate) {
        this.establishmentDate = establishmentDate;
    }
}


